import { MemberEntity } from '../../model';
import { members } from './mockData';
// :Promise <MemberEntity[]>

const fetchMembers = ():Promise <MemberEntity[]> => {
    return Promise.resolve(members)
}

export const memberAPI = {
    fetchMembers
}